package com.pasu.breakreminder.utils;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class BootReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Logger.i("BootReceiver", ">> onReceive()");
        // clear preference IS_ON
        PreferencesHelper ph = new PreferencesHelper(context);
        ph.save(PreferencesHelper.PREF_ALARM_STATUS_ON, false);
    }
}
